body {
  height: 100vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0;
}

.box {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  border: 2px solid #333;
}

.box .image {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-image: url("tx.jpg");
}
